Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
Helmet Star


For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.
Question Posted on 22 Jan 2021

Home >> Frameworks >> PyTorch >> For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.




For x = torch.Tensor([1, 2, 3, 4]), after x = torch.unsqueeze(x, 0) x will be of the shape _______.
Please choose the correct option from below list
(1)1 x 4
(2)1 x 1 x 4
(3)2 x 2
(4)1 x 4 x 1

Answer:-(1)1 x 4
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
On max pooling image of shape 20 x 20 using filter 4 x 4 and stride = 2, what will be the shape of the output?
While operating on Tensors a function name followed by underscore means ___________.
Which of the following function is used to move the Tensors from CPU to GPU?
If the shape of the Tensor is 2 x 1 x 3 x 1, performing torch.sqeeze() will output Tensor of shape _______.
Computing softmax activation can be skipped when using nn.CrossEntropyLoss.






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |